package com.example.feginconsumer.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 服务提供者的应用名字，服务提供者的IP地址
 */
@FeignClient(name = "demo-provider-user",url = "http://localhost:9998")
public interface IUserInfoClient {
    @GetMapping("findAll")
    String findAll();
}